package com.dog.service.impl;

import com.dog.dao.UserDAO;
import com.dog.model.User;
import com.dog.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * User: Dmitriy Akishin
 * Date: 08.03.2010
 * Time: 11:52:05
 */
//@Transactional(rollbackFor = {NullPointerException.class})

@Service
public class UserService extends BaseService<UserDAO, User> implements IUserService {

    @Autowired
    private UserDAO userDAO;

    @Override
    public UserDAO getDao() {
        return userDAO;
    }
}
